package sjtu;

import java.math.BigInteger;
import java.util.Scanner;

public class Sjtu1026 {
	public void go(){
		Scanner scan = new Scanner(System.in);
		BigInteger a,b;
		while(scan.hasNext()){
			a = scan.nextBigInteger();
			b = scan.nextBigInteger();
			System.out.println(a.divide(b).toString());
		}
	}
	
	public static void main(String[] args) {
		new Sjtu1026().go();
	}
}
